// 题目管理相关 VO 接口
// View Object - 用于前端展示的数据结构

export interface ProblemCreateResponse {
  code: number;
  message: string;
  data: string; 
}

export interface ProblemListResponse {
  code: number;
  message: string;
  data: {
    list: ProblemListItem[];
    total: number;
    page: number;
    pageSize: number;
  };
}

export interface ProblemListItem {
  id: string;
  title: string;
  difficulty: string;
  tags: string[];
  acceptedCount: number;
  submissionCount: number;
  acceptanceRate: number;
  isPublic: boolean;
  createdAt: string;
  updatedAt: string;
}